package com.cskaoyan.javase.basic._3operator;

/**
 * 比较运算符
 * @since 09:46
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo3 {
    public static void main(String[] args) {
        int a = 10;
        double b = 20;
        System.out.println(a == b);
        System.out.println(a > b);
        System.out.println(a < b);
        System.out.println(a <= b);

        String str = "abc";
        System sys = null;

        // System.out.println(str == sys);

        String str2 = "abc";
        System.out.println(str == str2);
    }
}
